
package com.one.odf.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for scheduleStartType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="scheduleStartType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Competitor" type="{}competitorResultsType" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="StartOrder" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
 *       &lt;attribute name="SortOrder" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
 *       &lt;attribute name="PreviousWLT" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="PreviousUnit" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "scheduleStartType", propOrder = {
    "competitor"
})
public class ScheduleStartType {

    @XmlElement(name = "Competitor")
    protected CompetitorResultsType competitor;
    @XmlAttribute(name = "StartOrder")
    protected Integer startOrder;
    @XmlAttribute(name = "SortOrder", required = true)
    protected int sortOrder;
    @XmlAttribute(name = "PreviousWLT")
    protected String previousWLT;
    @XmlAttribute(name = "PreviousUnit")
    protected String previousUnit;

    /**
     * Gets the value of the competitor property.
     * 
     * @return
     *     possible object is
     *     {@link CompetitorResultsType }
     *     
     */
    public CompetitorResultsType getCompetitor() {
        return competitor;
    }

    /**
     * Sets the value of the competitor property.
     * 
     * @param value
     *     allowed object is
     *     {@link CompetitorResultsType }
     *     
     */
    public void setCompetitor(CompetitorResultsType value) {
        this.competitor = value;
    }

    /**
     * Gets the value of the startOrder property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getStartOrder() {
        return startOrder;
    }

    /**
     * Sets the value of the startOrder property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setStartOrder(Integer value) {
        this.startOrder = value;
    }

    /**
     * Gets the value of the sortOrder property.
     * 
     */
    public int getSortOrder() {
        return sortOrder;
    }

    /**
     * Sets the value of the sortOrder property.
     * 
     */
    public void setSortOrder(int value) {
        this.sortOrder = value;
    }

    /**
     * Gets the value of the previousWLT property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPreviousWLT() {
        if (previousWLT == null) {
            return "";
        } else {
            return previousWLT;
        }
    }

    /**
     * Sets the value of the previousWLT property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPreviousWLT(String value) {
        this.previousWLT = value;
    }

    /**
     * Gets the value of the previousUnit property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPreviousUnit() {
        if (previousUnit == null) {
            return "";
        } else {
            return previousUnit;
        }
    }

    /**
     * Sets the value of the previousUnit property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPreviousUnit(String value) {
        this.previousUnit = value;
    }

}
